package com.learn.hmspring.dao;

import com.learn.hmspring.domain.Account;

import java.util.List;

public interface AccountDao {

    void saveAccount(Account account);

    Account findAccountById(Integer id);

    void updateAccount(Account account);

    void  deleteAccount(Account account);

    List<Account> findAllAccount();
}
